﻿@model RegisterRequestViewModel
@{
    ViewData["Title"] = "Register";
}



<div class="row">
        <div class="col-md-4">
            <h1 class="mt-5 mb-3">注册</h1>

            <form asp-action="RegisterPost">

                <div class="form-group">
                    <label asp-for="Name"></label>
                    <input class="form-control" placeholder="User name" asp-for="Name" autofocus>
                </div>

                <div class="form-group">
                    <label asp-for="Email"></label>
                    <input class="form-control" placeholder="Email" asp-for="Email" autofocus>
                </div>

                <div class="form-group">
                    <label asp-for="Password"></label>
                    <input type="password" class="form-control" placeholder="Password" asp-for="Password" autocomplete="off">
                </div>


                <div class="mt-4 mb-4">
                    <button class="btn btn-primary" name="button" value="login">注册</button>
                    <button class="btn btn-light" name="button" value="cancel">取消</button>
                </div>

                <partial name="_ValidationSummary" />
            </form>
        </div>
    
</div>

